package com.zyh.counselor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zyh.common.annotation.Excel;
import com.zyh.common.core.domain.BaseEntity;

/**
 * 咨询师信息对象 t_counselor
 *
 * @author zhangyangheng
 * @date 2025-03-16
 */
@TableName("t_counselor")
public class Counselor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 咨询师ID
     */
    @TableId(type = IdType.AUTO)
    private Long counselorId;

    /**
     * 关联用户ID（sys_user.user_id）
     */
    private Long userId;

    /**
     * 职称
     */
    @Excel(name = "职称")
    private String title;

    /**
     * 简介/专业背景
     */
    @Excel(name = "简介/专业背景")
    private String bio;

    /**
     * 擅长领域（逗号分隔，如：焦虑,婚姻关系）
     */
    @Excel(name = "擅长领域", readConverterExp = "逗=号分隔，如：焦虑,婚姻关系")
    private String expertise;

    /**
     * 相关证书
     */
    private String certification;

    /**
     * 咨询地址
     */
    private String address;

    /**
     * 认证状态（0待审核，1已认证，2已禁用）
     */
    @Excel(name = "认证状态", readConverterExp = "0=待审核，1已认证，2已禁用")
    private String certificationStatus;

    /**
     * 未通过原因
     */
    @Excel(name = "未通过原因")
    private String reason;

    /**
     * 删除标志
     */
    private String delFlag;

    public Long getCounselorId() {
        return counselorId;
    }

    public void setCounselorId(Long counselorId) {
        this.counselorId = counselorId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public String getExpertise() {
        return expertise;
    }

    public void setExpertise(String expertise) {
        this.expertise = expertise;
    }

    public String getCertification() {
        return certification;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setCertification(String certification) {
        this.certification = certification;
    }

    public String getCertificationStatus() {
        return certificationStatus;
    }

    public void setCertificationStatus(String certificationStatus) {
        this.certificationStatus = certificationStatus;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Counselor{" +
                "counselorId=" + counselorId +
                ", userId=" + userId +
                ", title='" + title + '\'' +
                ", bio='" + bio + '\'' +
                ", expertise='" + expertise + '\'' +
                ", certification='" + certification + '\'' +
                ", address='" + address + '\'' +
                ", certificationStatus='" + certificationStatus + '\'' +
                ", reason='" + reason + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
